package com.easonji.common.constant.dictmap;

import com.easonji.common.constant.dictmap.base.AbstractDictMap;

/**
 * @ClassName: DeptDict
 * @Description: 部门的字典（记录日志AOP用）
 * @Author: LiuJun
 * @date: 2018/07/12 14:36
 * @Version: 1.0
 * @Copyright: Copyright (c) 2018 - 2019
 */
public class DeptDict extends AbstractDictMap {

    @Override
    public void init() {
        put("deptId", "部门名称");
        put("num", "部门排序");
        put("parentId", "上级部门名称");
        put("name", "部门名称");
    }

    @Override
    protected void initBeWrapped() {
        putFieldWrapperMethodName("deptId", "DeptManager.getDeptNameById");
        putFieldWrapperMethodName("parentId", "DeptManager.getDeptNameById");
    }
}
